﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class PhieuSuDungNVLBUS
    {
        public static List<PhieuSuDungNVLDTO> Select_Phieu_not_read_yet()
        {
            return PhieuSuDungNVLDAO.Select_Phieu_not_read_yet();
        }

        public static bool Update_TinhTrang(string MaPhieuSuDungNVL, int TinhTrang)
        {
            try
            {
                return PhieuSuDungNVLDAO.Update_TinhTrang(MaPhieuSuDungNVL, TinhTrang);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
